package com.aura.bookshop.mapper;

import com.aura.bookshop.entity.User;
import com.baomidou.mybatisplus.core.mapper.Mapper;
import org.apache.ibatis.annotations.Select;
//import tk.mybatis.mapper.common.Mapper;

//引入了，mapper 通用依赖，
public interface UserMapper extends Mapper<User>{
    @Select("select * from User where username = #{username} and password = #{password}")
    User findUser(User user);

}
